package cn.getech.data.development.entity.flink;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "bdp_real_table_field")
public class BdpRealTableField implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 表编号
     */
    @TableField(value = "table_id")
    private Integer tableId;

    /**
     * 字段名称
     */
    @TableField(value = "field_name")
    private String fieldName;

    /**
     * 字段类别
     */
    @TableField(value = "field_type")
    private String fieldType;

    /**
     * row 字段类型扩充值
     */
    @TableField(value = "field_type_value")
    private String fieldTypeValue;

    /**
     * 字段别名
     */
    @TableField(value = "field_alias")
    private String fieldAlias;

    /**
     * 字段的描述
     */
    @TableField(value = "field_desc")
    private String fieldDesc;

    /**
     * 顺序
     */
    @TableField(value = "field_order")
    private Integer fieldOrder;

    /**
     * 创建理时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private Long createUser;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private Long updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 字段等级id
     */
    @TableField("colcum_level_id")
    private Integer colcumLevelId;


    /**
     * 默认安全级别名称
     */
    @TableField("security_data_level")
    private String securityDataLevel;

    /**
     * 删除 1 是,0 否
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    @TableField(value = "tenant_id")
    private Integer tenantId;
    @TableField(exist = false)
    private String levelName;
    private static final long serialVersionUID = 1L;
}